﻿@model PagedList.IPagedList<Pageparkproject.Models.tblLog>
@using PagedList.Mvc;
@{
    ViewBag.Title = "Log";
    Layout = "~/Views/Shared/AdminLayoutPage.cshtml";
    <link href="~/Content/PagedList.css" rel="stylesheet" />
}

<h2>Products Categories Settings</h2>
<table id="rounded-corner" summary="2007 Major IT Companies' Profit">
    <thead>
        <tr>
            <th scope="col" class="rounded">Admin</th>
            <th scope="col" class="rounded">Thời gian</th>
            <th scope="col" class="rounded">Nội dung</th>
        </tr>
    </thead>
    <tfoot>
        <tr>
            <td colspan="6" class="rounded-foot-left">
                @Html.PagedListPager(Model, page => Url.Action("Log", new { page }))</td>
            <td class="rounded-foot-right">&nbsp;</td>
        </tr>
    </tfoot>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @item.tblAdmin.sName
                <td>@item.dTime</td>
                <td>@item.sLog</td>
            </tr>
        }
    </tbody>
</table>
